//
//  MemoView.h
//  KidReading
//
//  Created by telen on 15/1/4.
//  Copyright (c) 2015年 刘赞黄Telen. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TLMutexUIViewDelegate.h"

@class MemoButton,ReadView;
@interface MemoView : UIView<TLMutexDelegate>
{
    BOOL isTransformWorking;
    UIImageView* bgview;
}

@property(nonatomic,assign)CGPoint pt_show;
@property(nonatomic,assign)CGPoint pt_unshow;
@property(nonatomic,weak)ReadView* readView;
@property(nonatomic,weak)MemoButton* pt_unshowFollowView;//指针的指针
@property(nonatomic,readonly) BOOL isInShowing;
@property(nonatomic,weak)id delegate;
//
@property(nonatomic,strong)NSString* bookName;
@property(nonatomic,strong)BOOL(^textToBecomeFirstResponder)(MemoView* memoView);
//
@property(nonatomic,strong)NSArray<UIView*>* topBtns;

- (NSString*)text;
- (void)setText:(NSString*)str;
- (void)updateText:(NSString*)str;
- (void)textBecomeFirstResponder;

- (void)show;
- (void)unShow;
- (void)unShow_must;

@end
